<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>Create User</title>
  </head>
  
  <body>
	<form:form method="POST" commandName="user" action="/QueenRestaurantWeb/user/create">
	<table>
		<tr>
			<td>用户名：</td>
			<td><form:input path="userName"/></td>
		</tr>
		<tr>
			<td>密 码：</td>
			<td><form:password path="password"/></td>
		</tr>
		<tr>
			<td>性 别：</td>
			<td><form:select path="gender">
  			<form:option value="男" label="男"></form:option>
  			<form:option value="女" label="女"></form:option>
  		</form:select></td>
		</tr>
		<tr>
			<td>电话 ：</td>
			<td><form:input path="phone"/></td>
		</tr>
		<tr>
			<td colspan="2"><input type="submit" value="提交" name="submit"/></td>
		</tr>
	</table>
	</form:form>
	
  </body>
</html>
